package com.ynny.demo08;

import java.time.LocalDateTime;
import java.util.Scanner;

public class While {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while (true){
            String s1 = sc.next();
            if (s1.equals("n")){
                break;
            }else {
                LocalDateTime now = LocalDateTime.now();
                System.out.println(now);
            }

        }
    }
}
